StoreEngine\Addons\Subscription\Classes\Utils C

Total Complexity 118
Dependencies 15
Dependents 3
Total lines 840
Lines of code 510
Logical lines of code 309
Comment lines 215
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
subscription_price_html()
C
34 25 84
format_cart_price_html()
B
36 16 85
create_order_from_subscription()
A
35 8 82
cart_totals_order_total_html()
A
49 8 26
get_non_cached_subscription_ranges()
A
49 7 31
append_numeral_suffix()
S
54 6 21
get_sign_up_fee_from_order()
S
57 6 15
cart_contains_renewal()
S
58 6 15
cart_totals_subtotal_html()
S
61 6 11
get_first_renewal_payment_time()
S
54 5 21
get_subscription_ranges()
S
57 5 16
get_expiration_date()
S
61 3 12
get_subscription_period_strings()
S
60 2 12
get_subscription_period_short_strings()
S
60 2 12
get_subscription_trial_period_strings()
S
60 2 12
create_renewal_order()
S
62 2 11
create_resubscribe_order()
S
62 2 11
get_payment_gateway_by_order()
S
72 2 5
create_parent_order()
S
64 2 9
get_first_renewal_payment_date()
S
64 2 9
prepare_cart_price_html()
S
64 1 10